From: Benjamin Otte Date: Mon, 15 Feb 2016 05:51:45 +0000 (+0100) Subject: win32 theme: Add checkbutton spacing X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~39^2~3066 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=2782a14fc43767253a70d2e38eac3cacb4c663ab;p=gtk%2B3.0.git win32 theme: Add checkbutton spacing The number is taken right from Wine source code. --- diff --git a/gtk/theme/win32/gtk-win32-base.css b/gtk/theme/win32/gtk-win32-base.css index ae68ea1857..df2dc9fcdd 100644 --- a/gtk/theme/win32/gtk-win32-base.css +++ b/gtk/theme/win32/gtk-win32-base.css @@ -326,6 +326,19 @@ button:disabled { padding-left: calc(1px + -gtk-win32-part-border-left(button, 1, 4)); } +/* checkbuttons */ + +/* This is the magic spacing that's hardcoded in Wine */ +checkbutton:dir(ltr) check, +radiobutton:dir(ltr) radio { + margin-right: 6px; +} + +checkbutton:dir(rtl) check, +radiobutton:dir(rtl) radio { + margin-left: 6px; +} + /* Scrollbars */ /* TODO: Win32 has different concept for upper and lower trough, we